package com.link.database.dao;

import com.link.database.entity.DBRegion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DBRegionDao {
    int insert(DBRegion dbRegion);
    int update(DBRegion dbRegion);
    int deleteById(long id);
    DBRegion selectById(long id);
    List<DBRegion> selectAll();
    List<DBRegion> selectByZoneId(long zoneId);
}